using System;

namespace RMH.Entities
{
    public class Address
    {
        public virtual string Street1 { get; set; }
        public virtual string Street2 { get; set; }
        public virtual string Street3 { get; set; }
        public virtual string City { get; set; }
        public virtual string State { get; set; }
        public virtual string PostalCode { get; set; }

        public bool IsValid()
        {
            return (!String.IsNullOrEmpty(Street1) && !String.IsNullOrEmpty(City) && !String.IsNullOrEmpty(State) &&
                    !String.IsNullOrEmpty(PostalCode));
        }
    }
}